﻿package mortal.game.view.active11
{
    import com.mui.controls.*;
    import flash.events.*;
    import mortal.game.events.*;
    import mortal.game.mvc.*;
    import mortal.game.resource.*;
    import mortal.game.view.common.*;
    import mortal.mvc.core.*;

    public class Active11PanelExp extends GSprite
    {
        protected var _bg:GImageBitmap;

        public function Active11PanelExp()
        {
            return;
        }// end function

        override protected function createDisposedChildrenImpl() : void
        {
            super.createDisposedChildrenImpl();
            this._bg = UIFactory.gImageBitmap(ImagesConst.Active11PanelExp, 0, 0, this);
            var _loc_1:* = UIFactory.gLoadingButton(ResFileConst.Active11OpenExpCopy, 260, 507, 172, 44, this);
            _loc_1.configEventListener(MouseEvent.CLICK, this.onClickBtn);
            pushUIToDisposeVec(_loc_1);
            return;
        }// end function

        protected function onClickBtn(event:MouseEvent) : void
        {
            Dispatcher.dispatchEvent(new DataEvent(EventName.ExpCopyModuleOpen, null));
            return;
        }// end function

        override protected function disposeImpl(param1:Boolean = true) : void
        {
            this._bg.dispose();
            this._bg = null;
            super.disposeImpl();
            return;
        }// end function

    }
}
